class ClusterResult(object):
    # 初始化方法
    def __init__(self, name, result):  # 初始化方法
        self.name = name
        self.result = result

    def __str__(self):
        return "name=%s, result=%s" % (self.name, self.result)

    def getName(self):
        return self.name

    def setName(self, name):
        self.name = name

    def getResult(self):
        return self.result

    def setResult(self, result):
        self.result = result
